package com.qingcloud.fexecutor.service;


import com.qingcloud.fexecutor.mapper.ApiDocMapper;
import com.qingcloud.fexecutor.pojo.ApiSqlDTO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class OpenApiService {

    @Resource
    ApiDocMapper apiDocMapper;

    /**
     * 查询API的脚本信息
     */
    public ApiSqlDTO findSql(Integer apiId) {
        return apiDocMapper.findSql(apiId);
    }

}
